/**
 * 
 */
package br.com.codigosfontes.dao;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * @author Joelson Coelho
 *
 * Analista e Desenvolvedor
 */
public class JPAUtil {
	
	private static EntityManagerFactory emf = Persistence.createEntityManagerFactory("dados");
	
	public EntityManager getEntityManager(){
		return emf.createEntityManager();
	}

}
